package com.efast.dmom.mgmt.service.wms.impl;
import java.util.List;

import com.efast.dmom.mgmt.dao.wms.TwBasPartRuleDao;
import com.efast.dmom.mgmt.entity.wms.TwBasPartRule;
import com.efast.dmom.mgmt.service.wms.TwBasPartRuleService;
import com.efast.dmom.mgmt.utils.Assist;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@Service
public class TwBasPartRuleServiceImpl implements TwBasPartRuleService{
    @Autowired
    private TwBasPartRuleDao twBasPartRuleDao;
    @Override
    public long getTwBasPartRuleRowCount(Assist assist){
        return twBasPartRuleDao.getTwBasPartRuleRowCount(assist);
    }
    @Override
    public List<TwBasPartRule> selectTwBasPartRule(Assist assist){
        return twBasPartRuleDao.selectTwBasPartRule(assist);
    }
    @Override
    public TwBasPartRule selectTwBasPartRuleByObj(TwBasPartRule obj){
        return twBasPartRuleDao.selectTwBasPartRuleByObj(obj);
    }
    @Override
    public TwBasPartRule selectTwBasPartRuleById(Integer id){
        return twBasPartRuleDao.selectTwBasPartRuleById(id);
    }
    @Override
    public int insertTwBasPartRule(TwBasPartRule value){
        return twBasPartRuleDao.insertTwBasPartRule(value);
    }
    @Override
    public int insertNonEmptyTwBasPartRule(TwBasPartRule value){
        return twBasPartRuleDao.insertNonEmptyTwBasPartRule(value);
    }
    @Override
    public int insertTwBasPartRuleByBatch(List<TwBasPartRule> value){
        return twBasPartRuleDao.insertTwBasPartRuleByBatch(value);
    }
    @Override
    public int deleteTwBasPartRuleById(Integer id){
        return twBasPartRuleDao.deleteTwBasPartRuleById(id);
    }
    @Override
    public int deleteTwBasPartRule(Assist assist){
        return twBasPartRuleDao.deleteTwBasPartRule(assist);
    }
    @Override
    public int updateTwBasPartRuleById(TwBasPartRule enti){
        return twBasPartRuleDao.updateTwBasPartRuleById(enti);
    }
    @Override
    public int updateTwBasPartRule(TwBasPartRule value, Assist assist){
        return twBasPartRuleDao.updateTwBasPartRule(value,assist);
    }
    @Override
    public int updateNonEmptyTwBasPartRuleById(TwBasPartRule enti){
        return twBasPartRuleDao.updateNonEmptyTwBasPartRuleById(enti);
    }
    @Override
    public int updateNonEmptyTwBasPartRule(TwBasPartRule value, Assist assist){
        return twBasPartRuleDao.updateNonEmptyTwBasPartRule(value,assist);
    }

    public TwBasPartRuleDao getTwBasPartRuleDao() {
        return this.twBasPartRuleDao;
    }

    public void setTwBasPartRuleDao(TwBasPartRuleDao twBasPartRuleDao) {
        this.twBasPartRuleDao = twBasPartRuleDao;
    }

}